Hey all, |
Re: measure execution time with dxl
Well you could use the "getTickCount_" function to measure the time:
int start = getTickCount_ ()
read ("/Folder/MyModule", true)
int end = getTickCount_() - start
print (end-start) " milliseconds have passed!"
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: measure execution time with dxl thank you very much! Regards, Clemens |
Re: measure execution time with dxl WorkingStudent - Tue Oct 04 05:24:11 EDT 2011 gets the current milliseconds (I think since you logged into your computer but that doesn't matter) int iStart = intOf(today()) gets the current second (actually since the beginning of DOORS time which I think is 1970 Jan 01 12:00:00am, but again that doesn't matter) intOf(today()) has a Date purpose, try this: print today() "\n" // Looks like "Wednesday 5 July 2011" print (dateOf(intOf(today()))) "\n" // looks like "05/07/11 08:22:45"
|